<?php
 
namespace models\entities;
 
/**
 * @Entity(repositoryClass="models\repositories\UserProfileRepository")
 * @Table(name="user_profile")
 */
class UserProfile {
	/**
 * @Id
 * @Column(name="id", type="integer", length=11, unique=true, nullable=false)
 */
	protected $id;

	/**
 * @Column(name="user_id", type="string", length=45)
 */
	protected $userId;

	/**
 * 
 * @ManyToOne(targetEntity="Profile")
 * @JoinColumn(name="profile_id", referencedColumnName="id")
 */
	protected $profile;


	public function setId($id)
	{
	    $this->id = $id;
	}
 
	public function getId()
	{
	    return $this->id;
	}

	public function setUserId($userId)
	{
	    $this->userId = $userId;
	}
 
	public function getUserId()
	{
	    return $this->userId;
	}

	public function setProfile($profile)
	{
	    $this->profile = $profile;
	}
 
	public function getProfile()
	{
	    return $this->profile;
	}
	
}